package spider.orm;

public class Site {
	private Long id;
	private String name;
	private String address;
	private String startAddress;
	private Byte needSpider;
	private Byte priority;
	
	private static Byte eagerValue = 1;
	
	public boolean isEager() {
		return eagerValue.equals(priority);
	}
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getStartAddress() {
		return startAddress;
	}
	public void setStartAddress(String startAddress) {
		this.startAddress = startAddress;
	}
	public Byte getNeedSpider() {
		return needSpider;
	}
	public void setNeedSpider(Byte needSpider) {
		this.needSpider = needSpider;
	}
	public Byte getPriority() {
		return priority;
	}
	public void setPriority(Byte priority) {
		this.priority = priority;
	}
	
}
